﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace XSTDZ.ERP.Application.DataContracts
{
    /// <summary>
    /// 产品工序
    /// </summary>
    [Serializable]
    public class ProductProcedureDto
    {
        public Guid ID { get; set; }
        [Display(Name = "工序编号")]
        [Required(ErrorMessage = "{0}不能为空！")]
        public int ProcedureNo { get; set; }
        [Display(Name = "工序名称")]
        [Required(ErrorMessage = "{0}不能为空！")]
        public string ProcedureName { get; set; }
        [Display(Name = "工时费")]
        [Required(ErrorMessage = "{0}不能为空！")]
        public string HourMoney { get; set; }
        [Display(Name = "删除状态")]
        public int Deleted { get; set; }
        [Display(Name = "备注")]
        public string Remarks { get; set; }

        public System.Guid ProductID { get; set; }
        public string ProductName { get; set; }
        public string DeletedState { get; set; }//只是为了方便页面读取
    }
}
